/* 头像样式 - 更精致的圆形头像 */
.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f8f9fa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.avatar-placeholder {
    font-size: 42px;
    color: #e9ecef;
    transition: color 0.2s ease;
}

/* 分页按钮 - 更现代的扁平化设计 */
.page-btn {
    width: 38px;
    height: 38px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #495057;
}

.page-btn:hover {
    background-color: #e9ecef;
    color: #212529;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

/* 页码样式 - 更突出的当前页指示 */
.page-numbers {
    display: flex;
    gap: 6px;
}

.page-number {
    width: 38px;
    height: 38px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #495057;
}

.page-number:hover {
    background-color: #e9ecef;
    color: #212529;
}

.page-number.active {
    background-color: #4361ee;
    color: white;
    font-weight: 500;
}

/* 模态框 - 更精致的卡片式设计 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    border: 1px solid rgba(0,0,0,0.05);
}

@keyframes modalFadeIn {
    from {
        transform: translateY(-16px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #adb5bd;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;

}

.close-btn:hover {
    color: #e74c3c;
    background-color: #f8f9fa;
}

/* 表单元素 - 更一致的间距和视觉层次 */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #343a40;
    font-size: 14px;
}

/* 头像上传区域 - 更明显的交互反馈 */
.avatar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 12px 0;
}

.avatar-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed #dee2e6;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.avatar-preview:hover {
    border-color: #adb5bd;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 分析结果区域 - 更专业的展示效果 */
.analysis-content {
    min-height: 120px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4361ee;
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

/* 响应式设计 - 更细致的移动端适配 */
@media (max-width: 768px) {
    .modal-content {
        padding: 24px;
        margin: 16px;
        border-radius: 8px;
    }

    .avatar-preview {
        width: 90px;
        height: 90px;
    }
}

/* 分页控制 - 更紧凑的布局 */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
}

/* 下拉选择框 - 更现代的风格 */
.page-size-selector select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.page-size-selector select:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.1);
}

/* 搜索组 - 更一致的输入框高度 */
.search-group .form-control,
.search-group select {
    height: 42px;
    padding: 10px 14px;
    border-radius: 6px;
}
.elegant-report {
    font-family: "Helvetica Neue", sans-serif;
    line-height: 1.8;
}
.elegant-report strong {
    color: #2c3e50;
    font-weight: 600;
    background: linear-gradient(transparent 60%, #F0F7FF 40%);
}